package com.sc.model;

import java.util.Date;

public class User {
    private int id;
    private String email;
    private String password;
    private String username;
    private String role;
    private int status;
    private Date regTime;

    public int getId() {
        return id;
    }

    public User setId(int id) {
        this.id = id;
        return this;
    }

    public String getEmail() {
        return email;
    }

    public User setEmail(String email) {
        this.email = email;
        return this;
    }

    public String getPassword() {
        return password;
    }

    public User setPassword(String password) {
        this.password = password;
        return this;
    }

    public String getUsername() {
        return username;
    }

    public User setUsername(String username) {
        this.username = username;
        return this;
    }

    public String getRole() {
        return role;
    }

    public User setRole(String role) {
        this.role = role;
        return this;
    }

    public int getStatus() {
        return status;
    }

    public User setStatus(int status) {
        this.status = status;
        return this;
    }

    public Date getRegTime() {
        return regTime;
    }

    public User setRegTime(Date regTime) {
        this.regTime = regTime;
        return this;
    }

    public String getRegIp() {
        return regIp;
    }

    public User setRegIp(String regIp) {
        this.regIp = regIp;
        return this;
    }

    private String regIp;
}
